import request from '@/utils/request'

// 查询couponUserLog列表
export function listCouponUserLog(query) {
  return request({
    url: '/coupon/couponUserLog/list',
    method: 'get',
    params: query
  })
}

// 查询couponUserLog详细
export function getCouponUserLog(id) {
  return request({
    url: '/coupon/couponUserLog/' + id,
    method: 'get'
  })
}

// 新增couponUserLog
export function addCouponUserLog(data) {
  return request({
    url: '/coupon/couponUserLog',
    method: 'post',
    data: data
  })
}

// 修改couponUserLog
export function updateCouponUserLog(data) {
  return request({
    url: '/coupon/couponUserLog',
    method: 'put',
    data: data
  })
}

// 删除couponUserLog
export function delCouponUserLog(id) {
  return request({
    url: '/coupon/couponUserLog/' + id,
    method: 'delete'
  })
}
